package zhaolongli_Boundary;

import javax.swing.JTextField;
/** Text Field with index, allow user to add choice to the model */

public class MyTextField extends JTextField{
	
	// number assigned to the TextField
	int index;
		
	public MyTextField(int index){
		super();
		this.index = index;
	}
	
	// return the number of the TextField
	public int getIndex(){
		return this.index;
	}

}
